/*
 * AboutJia.java
 *
 * Created on October 25, 2007, 9:06 AM
 */

package jia.editor.dialogues;

/**
 *
 * @author  estell
 */
public class AboutJia extends javax.swing.JDialog {
    
    /** Creates new form AboutJia */
    public AboutJia(java.awt.Frame parent, boolean modal) {
        super(parent, modal);
        initComponents();
        //TODO:  center component relative to the location of the application
    }
    
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
    private void initComponents() {
        lbl_AboutJIACopyright = new javax.swing.JLabel();
        lbl_AboutJIALicense = new javax.swing.JLabel();
        lbl_AboutJIAHomepage = new javax.swing.JLabel();
        lbl_AboutJIAVersion = new javax.swing.JLabel();
        lbl_AboutJIATitle = new javax.swing.JLabel();
        lbl_AboutJIABuild = new javax.swing.JLabel();
        sep_AboutJIASeperator = new javax.swing.JSeparator();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("About JIA");
        setLocationByPlatform(true);
        setModal(true);
        setResizable(false);
        lbl_AboutJIACopyright.setText("Copyright 2007, Erik Stell");

        lbl_AboutJIALicense.setText("Released under the GNU Public License");

        lbl_AboutJIAHomepage.setText("Homepage:  http://www.gryffonx.com/jia");

        lbl_AboutJIAVersion.setText("Version 0.1");

        lbl_AboutJIATitle.setFont(new java.awt.Font("Tahoma", 0, 24));
        lbl_AboutJIATitle.setText("JIA (Java Infinite Adventures)");

        lbl_AboutJIABuild.setText("Build Number:  1");

        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(layout.createSequentialGroup()
                .addContainerGap()
                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(org.jdesktop.layout.GroupLayout.TRAILING, lbl_AboutJIATitle, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 380, Short.MAX_VALUE)
                    .add(lbl_AboutJIAVersion)
                    .add(lbl_AboutJIAHomepage)
                    .add(lbl_AboutJIALicense)
                    .add(lbl_AboutJIABuild)
                    .add(lbl_AboutJIACopyright)
                    .add(sep_AboutJIASeperator, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 380, Short.MAX_VALUE))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(layout.createSequentialGroup()
                .addContainerGap()
                .add(lbl_AboutJIATitle)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(lbl_AboutJIAVersion)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(lbl_AboutJIABuild)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(sep_AboutJIASeperator, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 10, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .add(66, 66, 66)
                .add(lbl_AboutJIACopyright)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(lbl_AboutJIAHomepage)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(lbl_AboutJIALicense)
                .addContainerGap(43, Short.MAX_VALUE))
        );
        pack();
    }// </editor-fold>//GEN-END:initComponents
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel lbl_AboutJIABuild;
    private javax.swing.JLabel lbl_AboutJIACopyright;
    private javax.swing.JLabel lbl_AboutJIAHomepage;
    private javax.swing.JLabel lbl_AboutJIALicense;
    private javax.swing.JLabel lbl_AboutJIATitle;
    private javax.swing.JLabel lbl_AboutJIAVersion;
    private javax.swing.JSeparator sep_AboutJIASeperator;
    // End of variables declaration//GEN-END:variables
    
}
